#include <iostream>

double serch(const double x[],double a,int s){
	for(int i =0;i<s;++i)
		if(x[i]==a)
			return i;
		return -1;
}
int main(){
	std::cout << "nermuceq zangvac:\n";
    const int s=10;
	double x[s];
	for(int i=0;i<s;++i){
		std::cout << "x[" << i << "]=";
		std::cin >> x[i];
	}
	std::cout << "nermuceq tiv:";
	double a=0;
	std::cin >> a;
	double r=serch(x,a,s);
	if(r!=-1){
		std::cout << a << " tiv@ zangvacum uni " << r << " index.\n";
	}else{
		std::cout << "zangvacum " << a << " chka!\n";
	}
	return 0;
}